package cn.wolfcode.crm.domain;

import lombok.Getter;
import lombok.Setter;

import java.util.ArrayList;
import java.util.List;

@Setter@Getter
public class SystemMenu extends BaseDomain{
	
	private static final long serialVersionUID = 1L;

	//菜单名字
	private String text;

	//菜单地址
	private String url;

	//父菜单
	private SystemMenu parent;

	//关联的权限
	private Permission permission;

	//子菜单
	private List<SystemMenu> children = new ArrayList<>();

}
